package com.money.tracker.auth.service;

import com.money.tracker.auth.entity.SysUser;

import java.util.Set;

/**
 * <p>
 * 用户权限处理
 * <p>
 *
 * @author zhangshuai
 * &#064;@date 2024/09/25
 */
public interface SysPermissionService {

    /**
     * 获取角色权限数据
     *
     * @param user
     * @return {@link Set }<{@link String }>
     */

    Set<String> getRolePermission(SysUser user);

    /**
     * 获取菜单数据权限
     *
     * @param user
     * @return {@link Set }<{@link String }>
     */

    Set<String> getMenuPermission(SysUser user);
}
